package com.liao.note.dao;


import com.liao.note.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * (User)表数据库访问层
 *
 * @author long
 * @since 2023-02-11 19:57:57
 */
@Mapper
@Repository
public interface UserDao {

    User login(@RequestParam String account, @RequestParam String password);

    int register(User user);

    int update(User user);

}
